import FormRelatedServiceItemPreview from './FormRelatedServiceItemPreview.vue';
import FormRelatedServiceItem from './FormRelatedServiceItem.vue';
import FormRelatedServiceItemSetting from './FormRelatedServiceItemSetting.vue';

import { t } from '@src/locales'

let FormRelatedServiceItemField = {
  formType: 'relatedServiceItem',
  name: t('common.form.type.relatedServiceItem'),
  component: {
    setting: FormRelatedServiceItemSetting,
    preview: FormRelatedServiceItemPreview,
    build: FormRelatedServiceItem,
    extend: {
      'related-service-item_search': FormRelatedServiceItem
    }
  },
};

export default [FormRelatedServiceItemField];
